StellarPay\Integrations\WooCommerce\Stripe\Controllers\PrePaymentProcessLegacyCheckout S

Total Complexity 20
Dependencies 8
Dependents 2
Total lines 175
Lines of code 80
Logical lines of code 44
Comment lines 59
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
__invoke()
A
46 8 40
getSavedPaymentMethod()
S
62 3 11
isCustomerOptedInToPaymentInformation()
S
68 3 6
getPaymentMethodTokenId()
S
65 2 9
handleOrderProcessing()
S
73 1 5
getNewPaymentMethodId()
S
78 1 3
isCustomerUsingNewPaymentMethod()
S
79 1 3
isCustomerOptedInToUseSavedPaymentMethod()
S
79 1 3